Add Python 3.14 to configuration options#17647
Conversation
|
|
I think Still, it might be worth holding off until 3.14 is our latest, fully-supported Python version, like you said. #17529 is currently using it too, but I don't think that will end up being the final design. And I think it will have to wait for a minor release anyway. |
| Py311, | ||
| Py312, | ||
| Py313, | ||
| Py314, |
There was a problem hiding this comment.
It's unfortunate that adding Py314 makes it appear in the JSON schema and clap documentation without the possibility of mentioning that Py314 support is in preview.
I think we should log a warning or even abort if a user specifies 3.14 and hasn't preview enabled.
There was a problem hiding this comment.
I went with a warning, feel free to bikeshed the message which is currently:
Support for Python 3.14 is under development and may be unstable. Enable
previewto remove this warning.
A small PR that just updates the various settings/configurations to allow Python 3.14. (At the moment selecting that target version will have no impact compared to Python 3.13).
One question (maybe for @ntBre): should I update
PythonVersion::latestto point to 3.14 as well? Or should that wait until we have full Python 3.14 support ready to go (i.e. is that used as a default anywhere?)It would also be good for someone to verify that this won't impact red knot in an unforseen way!